(* Copyright (C) 2010 School of Software Engineering, 
 * University of Science and Technology of China.
 *
 * This code is released under a BSD-style license.
 * See the file LICENSE for details.
 *)

structure FileReader:> FILE_READER = 
struct

fun readFile (file : string) = 
    let val ins = TextIO.openIn file
    in  String.explode (TextIO.inputAll ins) before TextIO.closeIn ins
    end

end
